import request from '@/utils/request'
export function userLogin (username, password) {
  return request.post('/auth/login', {
    username,
    password
  })
}

// 获取用户信息
export function getUser () {
  return request.get('/auth/currentUser')
}
